package com.yellowpage.bigdata.data;

// default package

import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;


/**
 * TmApponoffActiveMonth entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name="tm_apponoff_active_month")

public class TmApponoffActiveMonth  implements java.io.Serializable {


    // Fields    

     private Integer tmApponoffActiveMonthId;
     private String version;
     private String channelNo;
     private Long cnts;
     private Date etlTime;
     private String monthId;
     private Integer createUser;
     private String note;


    // Constructors

    /** default constructor */
    public TmApponoffActiveMonth() {
    }

    
    /** full constructor */
    public TmApponoffActiveMonth(String version, String channelNo, Long cnts, Date etlTime, String monthId, Integer createUser, String note) {
        this.version = version;
        this.channelNo = channelNo;
        this.cnts = cnts;
        this.etlTime = etlTime;
        this.monthId = monthId;
        this.createUser = createUser;
        this.note = note;
    }

   
    // Property accessors
    @Id @GeneratedValue
    
    @Column(name="TM_APPONOFF_ACTIVE_MONTH_ID", unique=true, nullable=false)

    public Integer getTmApponoffActiveMonthId() {
        return this.tmApponoffActiveMonthId;
    }
    
    public void setTmApponoffActiveMonthId(Integer tmApponoffActiveMonthId) {
        this.tmApponoffActiveMonthId = tmApponoffActiveMonthId;
    }
    
    @Column(name="VERSION", length=128)

    public String getVersion() {
        return this.version;
    }
    
    public void setVersion(String version) {
        this.version = version;
    }
    
    @Column(name="CHANNEL_NO", length=128)

    public String getChannelNo() {
        return this.channelNo;
    }
    
    public void setChannelNo(String channelNo) {
        this.channelNo = channelNo;
    }
    
    @Column(name="CNTS")

    public Long getCnts() {
        return this.cnts;
    }
    
    public void setCnts(Long cnts) {
        this.cnts = cnts;
    }
    @Temporal(TemporalType.DATE)
    @Column(name="ETL_TIME", length=0)

    public Date getEtlTime() {
        return this.etlTime;
    }
    
    public void setEtlTime(Date etlTime) {
        this.etlTime = etlTime;
    }
    
    @Column(name="MONTH_ID", length=18)

    public String getMonthId() {
        return this.monthId;
    }
    
    public void setMonthId(String monthId) {
        this.monthId = monthId;
    }
    
    @Column(name="CREATE_USER")

    public Integer getCreateUser() {
        return this.createUser;
    }
    
    public void setCreateUser(Integer createUser) {
        this.createUser = createUser;
    }
    
    @Column(name="NOTE", length=128)

    public String getNote() {
        return this.note;
    }
    
    public void setNote(String note) {
        this.note = note;
    }
   
   








}